package xyz.xtt.asset.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;

import xyz.xtt.asset.entity.TblCollection;
import xyz.xtt.asset.vo.CollectionVo;
import xyz.xtt.asset.vo.HomeTopResponse;
import xyz.xtt.asset.vo.QueryCollType;
import xyz.xtt.asset.vo.QueryCollectionResponseVo;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author author
 * @since 2025-02-13
 */
public interface ITblCollectionService extends IService<TblCollection> {

	/**
	 * 更新风格使用次数
	 * 
	 * @param id
	 * @return
	 */
	boolean plusVer(Long id);

	/**
	 * @param uid
	 * @return
	 */
	QueryCollType createQuery(String uid);

	/**
	 * 产页置顶风格
	 * 
	 * @return
	 */
	List<HomeTopResponse> homeTop();

	/**
	 * 风格查询
	 * 
	 * @param uid
	 * @return
	 */
	List<QueryCollectionResponseVo> type(String uid);


	/**
	 * 查询系统风格
	 *
	 * @return
	 */
	List<CollectionVo> getListAll();
}
